package com.scau.dto;

/**
 * Siaoja
 */
public final class ConstantClass {

    //添加商品时的初始状态
    public static final int GOODS_INITIAL_STATUS = 1;
    //保存商品图片时分成两种路径：图片保存的绝对路径，前端访问图片的映射路径
    public static final int ABSOLUTE_PATH = 0;
    public static final int MAPPING_PATH = 1;
    //解析路径，映射路径-》绝对路径，需要切割字符串
    public static final int CUT_PATH = 10;

    //更新商品库存的时候有两种情况
    //下订单，商品减少库存
    public static final int REDUCE_GOODS = 0;
    //取消订单，商品增加库存
    public static final int INCREASE_GOODS = 1;



    private ConstantClass(){

    }
}
